﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Presentacion/Maestra.Master"
    CodeBehind="ConfirmarActividades.aspx.vb" Inherits="SIAVU.Presentacion.ConfirmarActividades"
    Title="SIAVU - Confirmar actividades" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" border="0" cellpadding="1" cellspacing="0" align="center">
        <tr>
            <td align="center">
                <asp:Panel ID="pnlMesaTripulantes" runat="server" Visible="false" AccessKey>
                    <dx:ASPxRoundPanel ID="pnlActividadesHoy" runat="server" HeaderText="Actividades de Hoy" HorizontalAlign="Center"
                        Width="80%" Font-Bold="True" CssFilePath="~/App_Themes/Youthful/{0}/styles.css"
                        CssPostfix="Youthful" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                        <ContentPaddings Padding="6px" PaddingBottom="6px" PaddingTop="4px" />
                        <HeaderStyle>
                            <Paddings PaddingBottom="13px" PaddingTop="0px" />
                        </HeaderStyle>
                        <PanelCollection>
                            <dx:PanelContent ID="PanelContent1" runat="server">
                                <asp:Panel ID="pnlResultados" runat="server">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <dx:ASPxGridView ID="gvActividadesHoy" runat="server" AutoGenerateColumns="False"
                                                    KeyFieldName="UsuarioID" ClientInstanceName="gvActividadesHoy" SettingsPager-Visible="False">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn VisibleIndex="0">
                                                            <DataItemTemplate>
                                                                <dx:ASPxButton ID="btnVerDetalleHoy" CommandArgument='<%# Bind("UsuarioID") %>' runat="server"
                                                                    OnClick="btnVerDetalle_Click" Text="Ver Detalle">
                                                                </dx:ASPxButton>
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="Legajo" FieldName="Legajo" Name="Legajo" VisibleIndex="1">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="Tripulante" FieldName="NombreCompleto" Name="NombreCompleto"
                                                            VisibleIndex="2">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="UsuarioID" FieldName="UsuarioID" Name="UsuarioID"
                                                            VisibleIndex="0" Visible="False">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataColumn Caption="" VisibleIndex="3">
                                                            <DataItemTemplate>
                                                                <img alt="" id="Img1" runat="server" src='<%# GetImageURL(Eval("EstadoActividad")) %>' />
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataColumn>
                                                    </Columns>
                                                    <SettingsBehavior AllowFocusedRow="True" />
                                                    <SettingsPager Visible="False" Mode="ShowAllRecords">
                                                    </SettingsPager>
                                                </dx:ASPxGridView>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </dx:PanelContent>
                        </PanelCollection>
                    </dx:ASPxRoundPanel>
                    <dx:ASPxRoundPanel ID="pnlActividadesManana" runat="server" HeaderText="Actividades de Mañana"
                        Width="80%" Font-Bold="True" CssFilePath="~/App_Themes/Youthful/{0}/styles.css" HorizontalAlign="Center"
                        CssPostfix="Youthful" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                        <ContentPaddings Padding="6px" PaddingBottom="6px" PaddingTop="4px" />
                        <HeaderStyle>
                            <Paddings PaddingBottom="13px" PaddingTop="0px" />
                        </HeaderStyle>
                        <PanelCollection>
                            <dx:PanelContent ID="PanelContent2" runat="server">
                                <asp:Panel ID="Panel1" runat="server">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <dx:ASPxGridView ID="gvActividadesManana" runat="server" AutoGenerateColumns="False"
                                                    KeyFieldName="UsuarioID" ClientInstanceName="gvActividadesManana" SettingsPager-Visible="False">
                                                    <Columns>
                                                        <dx:GridViewDataTextColumn VisibleIndex="0">
                                                            <DataItemTemplate>
                                                                <dx:ASPxButton ID="btnVerDetalleManana" CommandArgument='<%# Bind("UsuarioID") %>'
                                                                    runat="server" OnClick="btnVerDetalle_Click" Text="Ver Detalle">
                                                                </dx:ASPxButton>
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="Legajo" FieldName="Legajo" Name="Legajo" VisibleIndex="1">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="Tripulante" FieldName="NombreCompleto" Name="NombreCompleto"
                                                            VisibleIndex="2">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataTextColumn Caption="UsuarioID" FieldName="UsuarioID" Name="UsuarioID"
                                                            VisibleIndex="0" Visible="False">
                                                        </dx:GridViewDataTextColumn>
                                                        <dx:GridViewDataColumn Caption="" VisibleIndex="3">
                                                            <DataItemTemplate>
                                                                <img alt="" id="Img1" runat="server" src='<%# GetImageURL(Eval("EstadoActividad")) %>' />
                                                            </DataItemTemplate>
                                                        </dx:GridViewDataColumn>
                                                    </Columns>
                                                    <SettingsBehavior AllowFocusedRow="True" />
                                                    <SettingsPager Visible="False" Mode="ShowAllRecords">
                                                    </SettingsPager>
                                                </dx:ASPxGridView>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </dx:PanelContent>
                        </PanelCollection>
                    </dx:ASPxRoundPanel>
                </asp:Panel>
                <dx:ASPxPanel ID="pnlTripulante" runat="server" Width="100%" Visible="false">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent3" runat="server">
                            <dx:ASPxRoundPanel ID="pnlTripulanteHoy" runat="server" CssFilePath="~/App_Themes/Youthful/{0}/styles.css"
                                CssPostfix="Youthful" HeaderText="Actividad de hoy" Width="60%" HorizontalAlign="Center"
                                SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                <ContentPaddings PaddingBottom="6px" Padding="6px" PaddingTop="4px" />
                                <HeaderStyle Font-Bold="True" Font-Names="Calibri" Font-Size="15px">
                                    <Paddings PaddingBottom="13px" PaddingTop="0px" />
                                </HeaderStyle>
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent4" runat="server">
                                        <table style="width: 100%;">
                                            <tr>
                                                <td width="05%">
                                                </td>
                                                <td width="65%">
                                                    <dx:ASPxLabel ID="lblActividadHoy" runat="server" 
                                                        Text="A completar según el usuario" EncodeHtml="False">
                                                    </dx:ASPxLabel>
                                                    <dx:ASPxLabel ID="lblActividadHoyID" runat="server" Text="ID" Visible="False">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td width="30%" align="right">
                                                    <dx:ASPxButton ID="btnDarOKHoy" runat="server" Text="Dar OK" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                        CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                                                        SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                    </dx:ASPxButton>
                                                    &nbsp;&nbsp;
                                                    <dx:ASPxButton ID="btnNoDarOKHoy" runat="server" Text="No dar OK" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                        CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                                                        SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3">
                                                    <br />
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxRoundPanel>
                            <br />
                            <dx:ASPxRoundPanel ID="pnlTripulanteManana" runat="server" CssFilePath="~/App_Themes/Youthful/{0}/styles.css"
                                CssPostfix="Youthful" HeaderText="Actividad de mañana" Width="60%" HorizontalAlign="Center"
                                SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                <ContentPaddings PaddingBottom="6px" Padding="6px" PaddingTop="4px" />
                                <HeaderStyle Font-Bold="True" Font-Names="Calibri" Font-Size="15px">
                                    <Paddings PaddingBottom="13px" PaddingTop="0px" />
                                </HeaderStyle>
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent5" runat="server">
                                        <table style="width: 100%;">
                                            <tr>
                                                <td width="5%">
                                                </td>
                                                <td width="65%">
                                                    <dx:ASPxLabel ID="lblActividadManana" runat="server" Text="A completar según el usuario" EncodeHtml="False">
                                                    </dx:ASPxLabel>
                                                    <dx:ASPxLabel ID="lblActividadMananaID" runat="server" Text="ID" Visible="False">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td width="30%" align="right">
                                                    <dx:ASPxButton ID="btnDarOKManana" runat="server" Text="Dar OK" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                        CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                                                        SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                    </dx:ASPxButton>
                                                    &nbsp;&nbsp;
                                                    <dx:ASPxButton ID="btnNoDarOKManana" runat="server" Text="No dar OK" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                        CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                                                        SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3">
                                                    <br />
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxRoundPanel>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
        <tr>
            <td align="left">
                <br />
            </td>
        </tr>
        <tr>
            <td align="left">
                <dx:ASPxButton ID="btnVolver" runat="server" Text="Volver" Visible="False" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                    CssPostfix="Office2003Blue" SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                </dx:ASPxButton>
            </td>
        </tr>
    </table>
</asp:Content>
